package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 体检报告列表对象 medical_reports_list
 *
 * @author ruoyi
 * @date 2023-11-15
 */
public class MedicalReportsList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devicename;

    /** 设备路径 */
    @Excel(name = "设备路径")
    private String path;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String state;

    /** 诊断结论 */
    @Excel(name = "诊断结论")
    private String diagnosis;

    /** 建议 */
    @Excel(name = "建议")
    private String suggest;

    /** 体检报告时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "体检报告时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setDevicename(String devicename)
    {
        this.devicename = devicename;
    }

    public String getDevicename()
    {
        return devicename;
    }
    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath()
    {
        return path;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setDiagnosis(String diagnosis)
    {
        this.diagnosis = diagnosis;
    }

    public String getDiagnosis()
    {
        return diagnosis;
    }
    public void setSuggest(String suggest)
    {
        this.suggest = suggest;
    }

    public String getSuggest()
    {
        return suggest;
    }
    public void setReportTime(Date reportTime)
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime()
    {
        return reportTime;
    }
    public void setCreator(String creator)
    {
        this.creator = creator;
    }

    public String getCreator()
    {
        return creator;
    }
    public void setAttachment(String attachment)
    {
        this.attachment = attachment;
    }

    public String getAttachment()
    {
        return attachment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("devicename", getDevicename())
            .append("path", getPath())
            .append("state", getState())
            .append("diagnosis", getDiagnosis())
            .append("suggest", getSuggest())
            .append("reportTime", getReportTime())
            .append("creator", getCreator())
            .append("attachment", getAttachment())
            .toString();
    }
}
